﻿using MediatR;
using MES.Bom.Domain;
using MES.Bom.ErrorCode;

namespace MES.Bom.API.Application.Command.成品命令
{
    /// <summary>
    /// 获取成品列表命令
    /// </summary>
    public class GoodsQueryCommand:IRequest<APIResult<APIPaging<Goods>>>
    {
        /// <summary>
        /// 成品编号和成品名称
        /// </summary>
        public string? NameAndCode { get; set; }
        /// <summary>
        /// 成品类型
        /// </summary>
        public int GoodsType { get; set; }

        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }
}
